<?php

$photo = $page->photo();
$page->title = $photo->getTitle();

?>

<article class="gallery__image onPaper">

    <h1><?php echo $photo->getTitle() ?></h1>
    <img src="<?php echo $photo->getImage() ?>">
    <p><?= $photo->getCaption() ?></p>

    <p><a href="<?= url(uri::back()) ?>">Back to the Project</a></p>

</article>

